----------------------------------------------------
Changelog from version 1.0 to 1.1
----------------------------------------------------

--------------------------
New files
--------------------------

video.php - Upload this file to the "magnifizine" directory

--------------------------
header.php
--------------------------

** Find on line 93: **

<h1><a href="<?php bloginfo('url'); ?>"><?php echo($theme_logo) ?></a></h1><?php } ?>
			
** Add after: **

</div>
	
	<!--Slider-->
	<?php if(is_home() OR $theme_display_slider_all == "true") { ?>
	<div class="clear"></div>
	
	<?php if($theme_slider_size == "Small") { ?><div id="slider-container-outer-small"><?php } ?>
	
	<div id="slider-container-<?php if($theme_slider_size == "Large") { ?>large<?php } else { ?>small<?php } ?>">
	

** Find on lines 101-102 **

<a href="javascript:featuredcontentslider.playpause('slider1-large')"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/controls-pause.png" class="pngfix" onmouseover="this.src='<?php bloginfo('stylesheet_directory'); ?>/images/controls-pause-hover.png'" onmouseout="this.src='<?php bloginfo('stylesheet_directory'); ?>/images/controls-pause.png'" alt="" /></a>
<a href="javascript:featuredcontentslider.playpause('slider1-large')"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/controls-resume.png" class="pngfix" onmouseover="this.src='<?php bloginfo('stylesheet_directory'); ?>/images/controls-resume-hover.png'" onmouseout="this.src='<?php bloginfo('stylesheet_directory'); ?>/images/controls-resume.png'" alt="" /></a>
					
** Replace with: **

<a href="javascript:featuredcontentslider.playpause('slider1-<?php if($theme_slider_size == "Large") { ?>large<?php } else { ?>small<?php } ?>')"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/controls-pause.png" class="pngfix" onmouseover="this.src='<?php bloginfo('stylesheet_directory'); ?>/images/controls-pause-hover.png'" onmouseout="this.src='<?php bloginfo('stylesheet_directory'); ?>/images/controls-pause.png'" alt="" /></a>
<a href="javascript:featuredcontentslider.playpause('slider1-<?php if($theme_slider_size == "Large") { ?>large<?php } else { ?>small<?php } ?>')"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/controls-resume.png" class="pngfix" onmouseover="this.src='<?php bloginfo('stylesheet_directory'); ?>/images/controls-resume-hover.png'" onmouseout="this.src='<?php bloginfo('stylesheet_directory'); ?>/images/controls-resume.png'" alt="" /></a>


** Find and remove from lines 110-119: **

</div>
	
	<!--Slider-->
	<?php if(is_home() OR $theme_display_slider_all == "true") { ?>
	<div class="clear"></div>
	
	<?php if($theme_slider_size == "Small") { ?><div id="slider-container-outer-small"><?php } ?>
	
	<div id="slider-container-<?php if($theme_slider_size == "Large") { ?>large<?php } else { ?>small<?php } ?>">


** Find from lines 128-170: **

<?php $args = array('post_type' => 'attachment', 'numberposts' => 1, 'orderby' => menu_order, 'post_parent' => $post->ID); 

.....

<?php } ?>

** Replace with: **

<?php $args = array('post_type' => 'attachment', 'numberposts' => 1, 'orderby' => menu_order, 'post_parent' => $post->ID); $attachments = get_children($args); ?>
				
	<?php if($attachments && !get_post_meta($post->ID, 'slider_image', true)) {
	foreach ($attachments as $attachment) { ?>
	
		<?php if(!$attachment->post_content) { ?>
		
			<?php the_post_thumbnail(array(980,9999), array('title' => '')); ?>

		<?php } else { ?>

			<?php require('video.php'); ?>
	
		<?php } ?>

	<?php }} elseif(get_post_meta($post->ID, 'slider_image', true)) { ?>
	
		<img src="<?php echo get_post_meta($post->ID, 'slider_image', true); ?>" alt="" />	
			
	<?php } ?>


** Find on line 181: **

<!--End Slider Description-->

** Add above: **

<?php } ?>

** Remove below: **

<?php }} ?>


--------------------------
style.css
--------------------------

** Find on line 3: **

Version: 1.0

** Replace with: **

Version: 1.1


** Find on lines 851-852: **

bottom: 5px;
left: 20px;

** Replace with: **

top: 0px;
right: 0px;
padding: 3px 5px;
z-index: 1000;
background: #000000;
filter: alpha(opacity=80);
-moz-opacity: 0.8;
-khtml-opacity: 0.8;
opacity: 0.8;


--------------------------
footer.php
--------------------------

** Find on line 228: **

<script>

** Replace with: **

<script type="text/javascript">


--------------------------
functions.php
--------------------------

** Find on line 220: **

array(  
"name" => "Video Display",
"desc" => "Select how the video will be displayed in the slider<br/>Uniform: Stretched proportionally with black borders<br/>Fill: Fills display, edges cropped to fit<br/>Exact Fit: Made to fit display disproportionately",
"id" => $shortname."_vid_stretch",
"std" => "Uniform",
"options" => array('Uniform', 'Fill', 'Exact Fit'),
"type" => "select"),		

array(  
"name" => "Video Control Bar",
"desc" => "The bar at the bottom of the video.",
"id" => $shortname."_controlbar",
"std" => "Hover",
"options" => array('Hover', 'Fixed', 'None'),
"type" => "select"),

** Replace with: **

array(  
"name" => "Video Display",
"desc" => "Select how the video will be display in the slider<br/>Fill: Stretches to fill the slider
<br/>Fit: Video does not stretch to fit slider.",
"id" => $shortname."_vid_stretch",
"std" => "Fill",
"options" => array('Fill', 'Fit'),
"type" => "select"),	

** Find and remove on lines 258-264:

array(  
"name" => "Video Repeat",
"desc" => "Whether the video will play again once finished.",
"id" => $shortname."_repeat",
"std" => "No",
"options" => array('No', 'Yes'),
"type" => "select"),	

** Find on lines 273-287:

array(  
"name" => "Video Display",
"desc" => "Select how the video will be displayed in the lightbox<br/>Uniform: Stretched proportionally with black borders<br/>Fill: Fills display, edges cropped to fit<br/>Exact Fit: Made to fit display disproportionately",
"id" => $shortname."_lb_vid_stretch",
"std" => "Uniform",
"options" => array('Uniform', 'Fill', 'Exact Fit'),
"type" => "select"),		

array(  
"name" => "Video Control Bar",
"desc" => "The bar at the bottom of the video.",
"id" => $shortname."_lb_controlbar",
"std" => "Hover",
"options" => array('Hover', 'Fixed', 'None'),
"type" => "select"),

** Replace with: **

array(  
"name" => "Video Display",
"desc" => "Select how the video will be display in the slider<br/>Fill: Stretches to fill the slider
<br/>Fit: Video does not stretch to fit slider.",
"id" => $shortname."_lb_vid_stretch",
"std" => "Fill",
"options" => array('Fill', 'Fit'),
"type" => "select"),	

** Find and remove on lines 313-319: **

array(  
"name" => "Video Repeat",
"desc" => "Whether the video will play again once finished.",
"id" => $shortname."_lb_repeat",
"std" => "No",
"options" => array('No', 'Yes'),
"type" => "select"),


--------------------------
template-portfolio.php
--------------------------

** Find on line 54: **

<img src="<?php echo get_post_meta($post->ID, 'thumbnail', true); ?>" alt="" />

** Replace with: **

<?php $args = array('post_type' => 'attachment', 'numberposts' => 1, 'post_status' => null, 'orderby' => menu_order, 'post_mime_type' => 'image', 'post_parent' => $post->ID); 
$attachments = get_children($args);
foreach ($attachments as $attachment) { if($attachment->menu_order == 1) { ?>
	<img src="<?php echo wp_get_attachment_thumb_url($attachment->ID); ?>"  alt="" />
<?php }} ?>


** Find on lines 70-75: **

<!--Portfolio Slider-->
<div id="slider2">
	<?php
	query_posts('cat='.get_post_meta($post->ID, 'port_cats', true).'&posts_per_page=-1');
	if (have_posts()) : while (have_posts()) : the_post(); ?>
		<div class="contentdiv">
		
** Replace with: **

<!--Portfolio Slider-->
<div id="slider2">
	<?php
	query_posts('cat='.get_post_meta($post->ID, 'port_cats', true).'&posts_per_page=-1');
	if (have_posts()) : while (have_posts()) : the_post(); ?>
		<div class="contentdiv">


** Find on lines 86-90: **

<?php if(has_post_thumbnail()) { ?>
	<a href="<?php if($attachment->post_content) { ?><?php echo $attachment->post_content ?>&width=780&height=418&controlbar=<?php if($theme_lb_controlbar == 'Hover') { ?>over<?php } elseif($theme_lb_controlbar == 'Fixed') { ?>bottom<?php } elseif($theme_lb_controlbar =='None') { ?>none<?php } ?>&autostart=<?php if($theme_lb_autostart == 'Yes') { ?>true<?php } elseif($theme_lb_autostart == 'No') { ?>false<?php } ?>&repeat=<?php if($theme_lb_repeat == 'Yes') { ?>always<?php } elseif($theme_lb_repeat == 'No') { ?>none<?php } ?>&quality=<?php if($theme_lb_quality == 'High') { ?>true<?php } elseif($theme_lb_quality == 'Low') { ?>false<?php } ?>&stretching=<?php if($theme_lb_vid_stretch == 'Fill') { ?>fill<?php } elseif($theme_lb_vid_stretch == 'Uniform') { ?>uniform<?php } elseif($theme_lb_vid_stretch =='Exact Fit') { ?>exactfit<?php } ?>&icons=<?php if($theme_lb_icons == 'Yes') { ?>true<?php } elseif($theme_lb_icons == 'No') { ?>false<?php } ?>&skin=<?php bloginfo('url'); ?>/wp-content/plugins/flash-video-player/skins/overlay/overlay.swf<?php } else { ?><?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array(980,9999),false,''); echo $src[0]; ?><?php } ?>" rel="prettyPhoto[portimage<?php the_ID(); ?>]"><?php the_post_thumbnail(array(560,9999), array('title' => '')); ?></a>
<?php } else { ?>
	<a href="<?php if($attachment->post_content) { ?><?php echo $attachment->post_content ?>&width=780&height=418&controlbar=over&autostart=true&quality=true&skin=<?php bloginfo('url'); ?>/wp-content/plugins/flash-video-player/skins/overlay/overlay.swf<?php } else { ?><?php echo get_post_meta($post->ID, 'slider_image', true); ?><?php } ?>" rel="prettyPhoto[portimage<?php the_ID(); ?>]"><img src="<?php echo get_post_meta($post->ID, 'slider_image', true); ?>" alt="" /></a>
<?php } ?>
						
** Replace with: **
		
<a href="<?php if($attachment->post_content) { ?><?php echo $attachment->post_content ?>&image=<?php if(has_post_thumbnail()) { ?><?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array(980,9999),false,''); echo $src[0]; ?><?php } else { ?><?php echo wp_get_attachment_url($attachment->ID); ?><?php } ?>&width=780&height=418&autostart=<?php if($theme_lb_autostart == 'Yes') { ?>true<?php } elseif($theme_lb_autostart == 'No') { ?>false<?php } ?>&quality=<?php if($theme_lb_quality == 'High') { ?>true<?php } elseif($theme_lb_quality == 'Low') { ?>false<?php } ?>&overstretch=<?php if($theme_lb_vid_stretch == 'Fill') { ?>true<?php } elseif($theme_lb_vid_stretch == 'Fit') { ?>Fit<?php } ?>&showicons=<?php if($theme_lb_icons == 'Yes') { ?>true<?php } elseif($theme_lb_icons == 'No') { ?>false<?php } ?><?php } elseif(has_post_thumbnail()) { ?><?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array(980,9999),false,''); echo $src[0]; ?><?php } else { ?><?php echo wp_get_attachment_url($attachment->ID); ?><?php } ?>" rel="prettyPhoto[portimage<?php the_ID(); ?>]"><?php if(has_post_thumbnail()) { ?><?php the_post_thumbnail(array(560,9999), array('title' => '')); ?><?php } else { ?><img src="<?php echo wp_get_attachment_url($attachment->ID); ?>"  alt="" /><?php } ?></a>


** Find on line 115:

<a href="<?php if($attachment->post_content) { ?><?php echo $attachment->post_content ?>&width=780&height=418&controlbar=over&autostart=true&quality=true&skin=<?php bloginfo('url'); ?>/wp-content/plugins/flash-video-player/skins/overlay/overlay.swf<?php } else { ?><?php echo wp_get_attachment_url($attachment->ID); ?><?php } ?>" rel="prettyPhoto[portimage<?php the_ID(); ?>]"><img src="<?php echo wp_get_attachment_thumb_url($attachment->ID); ?>"  alt="" /></a>

** Replace with: **

<a href="<?php if($attachment->post_content) { ?><?php echo $attachment->post_content ?>&image=<?php echo wp_get_attachment_url($attachment->ID); ?>&width=780&height=418&autostart=<?php if($theme_lb_autostart == 'Yes') { ?>true<?php } elseif($theme_lb_autostart == 'No') { ?>false<?php } ?>&quality=<?php if($theme_lb_quality == 'High') { ?>true<?php } elseif($theme_lb_quality == 'Low') { ?>false<?php } ?>&overstretch=<?php if($theme_lb_vid_stretch == 'Fill') { ?>true<?php } elseif($theme_lb_vid_stretch == 'Fit') { ?>Fit<?php } ?>&showicons=<?php if($theme_lb_icons == 'Yes') { ?>true<?php } elseif($theme_lb_icons == 'No') { ?>false<?php } ?><?php } else { ?><?php echo wp_get_attachment_url($attachment->ID); ?><?php } ?>" rel="prettyPhoto[portimage<?php the_ID(); ?>]"><img src="<?php echo wp_get_attachment_thumb_url($attachment->ID); ?>"  alt="" /></a>

** Find on lines 122-126: **

			<div class="portfolio-text">
				<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
				<?php the_excerpt(); ?> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">Continue &raquo;</a>						
			</div>
		
		</div>
	<?php endwhile; endif; wp_reset_query(); ?>
</div>
<!--Portfolio Slider-->

** Replace with: **

			<!--Portfolio Text-->	
			<div class="portfolio-text">
				<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
				<?php the_excerpt(); ?> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">Continue &raquo;</a>						
			</div>
			<!--End Portfolio Text-->
		
		</div><!--End contentdiv-->
	<?php endwhile; endif; wp_reset_query(); ?>
</div>
<!--End Portfolio Slider-->


--------------------------
js/jquery.flow.1.2.js
--------------------------

** Find on line 236: **

$s("div.jFlowSlideContainer").hover(function(){

** Replace with: **

/*$s("div.jFlowSlideContainer").hover(function(){


**Find on lines 244-254: **

});

$s(".flashvideo").hover(function(){

dopause();

}, function(){

doresume();

});

** Replace with: **

});*/


--------------------------
js/jquery.prettyPhoto.js
--------------------------

** Find one line 223: **

pp_typeMarkup = '<span id="video4" class="flashvideo"><embed height="418" width="780"  flashvars="file=http://ww'+flash_vars+'" type="application/x-shockwave-flash" src="/customs/wp-content/plugins/flash-video-player/mediaplayer/player.swf"allowfullscreen="true" allowscriptaccess="always"></embed></span>';

** Replace with: **

pp_typeMarkup = '<embed id="port_vid" height="418" width="780"  flashvars="file=http://ww'+flash_vars+'" type="application/x-shockwave-flash" src="./wp-content/plugins/flv-embed/flvplayer.swf" name="port_vid" allowfullscreen="true" allowscriptaccess="always"></embed>';